You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="4118" />
  </query-continue>
  <query>
    <pages>
      <page pageid="302" ns="0" title="Main Page">
        <revisions>
          <rev user="Podence" timestamp="2022-09-08T15:28:33Z" comment="" />
          <rev user="Seabass" timestamp="2022-04-06T14:22:23Z" comment="Link to GitHub and the mailing list archives on main page" />
          <rev user="Seabass" timestamp="2022-04-06T14:20:14Z" comment="Add link to the Canonicalisation Committee page" />
          <rev user="JackM" timestamp="2017-02-16T18:37:43Z" comment="" />
          <rev user="JackM" timestamp="2017-02-16T18:36:26Z" comment="" />
        </revisions>
      </page>
    </pages>
  </query>
</api>